package mic.hsacnu.breathingandroidchinese;

import mic.hsacnu.data.Datas;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;

public class LoginLogoutActivity extends Activity {

	private EditText username;
	private EditText password;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		if(Datas.isLogin==false){
			setContentView(R.layout.activity_login);
		}else{
			setContentView(R.layout.activity_logout);
		}
		username=(EditText) findViewById(R.id.username);
		password=(EditText) findViewById(R.id.username);
	}
	
	public void login(View source){
		
	}
	
	public void logout(View source){
		
	}
	
	public void register(View source){
		
	}
}
